package com.zhaoyun.test;


/**
 * @author benjaminwan
 */
public class ComBean {
    private static final String TAG = "ComBean";

    public byte[] bRec = null;
    public ComBean(byte[] buffer, int size) {
        bRec = new byte[size];
        System.arraycopy(buffer, 0, bRec, 0, size);
    }
    public void toPrint() {
        if (bRec != null) {
            MyLog.d("tag", "toPrint -----> " + MyFunc.ByteArrToHex(bRec));
        }
    }
}